home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / DU Folder / Graphics / Sources / Include / GraphicsPrt.h < prev    next >
Encoding:
Text File  |  1995-10-11  |  1.3 KB  |  53 lines  |  [TEXT/MPS ]

  1. //    Copyright © 1995 Apple Computer, Inc. All rights reserved.
  2. //    Release Version:    $ 1.0 d11 $
  3.  
  4. #ifndef GRAPHICSPRT_H
  5. #define GRAPHICSPRT_H
  6.  
  7. //=======================================================================
  8. #ifndef _GRAPHICSDEF_
  9. #include "GraphicsDef.h"
  10. #endif
  11.  
  12. // ----- Framework Includes -----
  13. #ifndef FWPART_H
  14. #include "FWPart.h"            // FW_CPart
  15. #endif
  16.  
  17. // ----- Foundation Layer -----
  18. #ifndef FWSTDDEF_H
  19. #include <FWStdDef.h>        // ?
  20. #endif
  21.  
  22. #ifndef FWBNDSTR_H
  23. #include <FWBndStr.h>        // FW_CString
  24. #endif
  25.  
  26. //=======================================================================
  27. class FW_CLASS_ATTR FW_CPart;
  28. class FW_CLASS_ATTR FW_CString;
  29. class FW_CLASS_ATTR FW_CPresentation;
  30.  
  31. //=======================================================================
  32. class FW_CLASS_ATTR CGraphicsPart : public FW_CPart {
  33. public:
  34.                         CGraphicsPart(ODPart* odPart);
  35.     virtual             ~CGraphicsPart();
  36. // overrides
  37. protected:
  38.     virtual void         Initialize(Environment* ev);
  39.     virtual FW_CFrame*    NewFrame(Environment* ev,
  40.                                  ODFrame* odFrame,
  41.                                  FW_CPresentation* presentation,
  42.                                  FW_Boolean fromStorage);
  43. // new members
  44. public:
  45.     static const ODValueType     kPartKind;
  46.     static const ODValueType     kPartUserName;
  47. private:
  48.     FW_CPresentation*    fPresentation;
  49. };
  50.  
  51. //=======================================================================
  52. #endif
  53.